package org.example.myleet.p1104;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(Assert.isPass(new int[]{1}, solution.pathInZigZagTree(1)));
        Assert.isTrue(Assert.isPass(new int[]{1,2,7,8}, solution.pathInZigZagTree(8)));
        Assert.isTrue(Assert.isPass(new int[]{1,3,4,14}, solution.pathInZigZagTree(14)));
        Assert.isTrue(Assert.isPass(new int[]{1,2,6,11}, solution.pathInZigZagTree(11)));
        Assert.isTrue(Assert.isPass(new int[]{1,2,6,10,26}, solution.pathInZigZagTree(26)));
    }
}
